﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ComputeLib
{
    interface ICalculationAction
    {
        /// <summary>
        /// 计算公式元数据
        /// </summary>
        ICalculation Calculation { get; set; }

        /// <summary>
        /// 计算结果
        /// </summary>
        /// <param name="vars">计算所需的变量</param>
        /// <returns></returns>
        object calculate(Dictionary<String,object> vars);

        /// <summary>
        /// 执行过程中的所有变量的结果
        /// </summary>
        Dictionary<String, object> VarsValue { get;  }



    }
}
